<!DOCTYPE html>
<html>
  <head>
    <meta charset="UTF-8">
    <title>Part</title>
    <link href='http://fonts.googleapis.com/css?family=Source+Sans+Pro:300,400,700,300italic,400italic,700italic|Source+Code+Pro:300,400,700' rel='stylesheet' type='text/css'>
<link rel="stylesheet" href="../assets/css/bootstrap.css">
<link rel="stylesheet" href="../assets/css/jquery.bonsai.css">
<link rel="stylesheet" href="../assets/css/main.css">
<link rel="stylesheet" href="../assets/icon-font/icons.css">
<script type="text/javascript" src="../assets/js/jquery-2.1.0.min.js"></script>
<script type="text/javascript" src="../assets/js/bootstrap.js"></script>
<script type="text/javascript" src="../assets/js/jquery.bonsai.js"></script>

  </head>
  <body>
    <div>

      <!-- Name Title -->

      <h1>Part</h1>

      <!-- Type and Stereotype -->

      <section style="margin-top: .5em;">
        <span class="alert alert-info">
          <span class="node-icon staruml-icon icon-UMLClass"></span>
          UMLClass
        </span>
        
      </section>

      <!-- Path -->

      <section style="margin-top: 10px">
        
        
        
          
          <span class="label label-info"><a href='cf9c8b720f3815adeccaf3ef6e48c6c4.html'><span class='node-icon staruml-icon icon-Project'></span>playmoc</a></span>
        
          <span>::</span>
          <span class="label label-info"><a href='594af663de577680f35b13183109d675.html'><span class='node-icon staruml-icon icon-UMLModel'></span>Model</a></span>
        
          <span>::</span>
          <span class="label label-info"><a href='20090c934761b2449d36c1d5b9fc93ba.html'><span class='node-icon staruml-icon icon-UMLClass'></span>Part</a></span>
        
      </section>

      <!-- Diagram -->

      

      <!-- Description -->

      
      <section>
        <h3>Description</h3>
        <div>
          
            <h1>零件</h1>

<p>lego通过part num来唯一标识一个零件，官方会提供一些，有的时候一些开源组织会提供自定义的一些编号。如:</p>

<ul><li><a href="https://www.ldraw.org/cgi-bin/ptscan.cgi?q=397&amp;utm_source=rebrickable">LDrawID 379</a> </li><li><a href="https://www.bricklink.com/v2/catalog/catalogitem.page?P=bp01&amp;name=Baseplate%2010%20x%2016&amp;category=%5BBaseplate%5D#T=S&amp;C=6&amp;O={%22color%22:6,%22iconly%22:0}">BrickLinkID bp01</a></li><li><a href="https://www.brickowl.com/search/catalog?query=822619&amp;utm_source=rebrickable">BrickOwl BOID 822619</a></li><li><a href="http://www.peeron.com/inv/parts/x477">Peeron ID</a></li></ul>

<p>在项目中以乐高官方编号为准，如果没有就使用LDrawID,bricklink的编号。</p>

<h2>参考</h2>

<p><a href="https://brickset.com/article/54327/understanding-lego-part-numbers">understanding-lego-part-numbers</a></p>
          
        </div>
      </section>
      

      <!-- Specification -->

      

      <!-- Directed Relationship -->

      

      <!-- Undirected Relationship -->

      

      <!-- Classifier -->

      
        
        


        
        


        
        


        
        


        
        

      

      <!-- Interface -->

      

      <!-- Component -->

      

      <!-- Node -->

      

      <!-- Actor -->

      

      <!-- Use Case -->

      

      <!-- Template Parameters -->

      

      <!-- Literals -->

      

      <!-- Attributes -->

      
      <section>
        <h3>Attributes</h3>
        <table class="table table-striped table-bordered">
          <tr>
            <th>Visibility</th>
            <th>Name</th>
            <th>Type</th>
            <th>Description</th>
          </tr>
          
          <tr>
            <td>public</td>
            <td><a href="e30854e30526d3f383c4f05184e64d74.html">Id</a></td>
            <td><a href='44e651d28e31f0b4c566370dfd08d06f.html'>Int</a></td>
            <td></td>
          </tr>
          
          <tr>
            <td>public</td>
            <td><a href="0cb5d2ef8e820d6d3b0868c7d6985c0f.html">Name</a></td>
            <td><a href='d55b2558bee10a30dd1c196b5025f528.html'>String</a></td>
            <td></td>
          </tr>
          
          <tr>
            <td>public</td>
            <td><a href="71c050507b9d6bfe6f1be9dc38dc1dba.html">PartNum</a></td>
            <td><a href='d55b2558bee10a30dd1c196b5025f528.html'>String</a></td>
            <td></td>
          </tr>
          
        </table>
      </section>
      

      <!-- Operations -->

      

      <!-- Receptions -->

      

      <!-- Extension Points -->

      

      <!-- Parameters -->

      

      <!-- Diagrams -->

      
      

      <!-- Behavior -->

      

      <!-- Action -->

      

      <!-- Interaction -->

      

      <!-- CombinedFragment -->

      

      <!-- Activity -->

      

      <!-- State Machine -->

      

      <!-- State Machine -->

      

      <!-- State -->

      

      <!-- Vertex -->

      

      <!-- Transition -->

      

      <!-- Data Model (ERD) -->

      

      <!-- Columns (ERD) -->

      

      <!-- Related Entities (ERD) -->

      

      <!-- Data Flows (DFD) -->

      

      <!-- Flows (Flowchart) -->

      

      <!-- Properties -->

      <section>
        <h3>Properties</h3>
        
        <table class="table table-striped table-bordered">
    <tr>
        <th width="50%">Name</th>
        <th width="50%">Value</th>
    </tr>
    
    
    
    
    
    
    
    <tr>
        <td>name</td>
        <td>Part</td>
    </tr>
    
    
    
    
    
    
    
    
    
    
    
    <tr>
        <td>stereotype</td>
        <td><span class='label label-info'>null</span></td>
    </tr>
    
    
    
    
    
    <tr>
        <td>visibility</td>
        <td>public</td>
    </tr>
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    <tr>
        <td>isAbstract</td>
        <td><span class='label label-info'>false</span></td>
    </tr>
    
    
    
    
    
    <tr>
        <td>isFinalSpecialization</td>
        <td><span class='label label-info'>false</span></td>
    </tr>
    
    
    
    
    
    <tr>
        <td>isLeaf</td>
        <td><span class='label label-info'>false</span></td>
    </tr>
    
    
    
    
    
    <tr>
        <td>isActive</td>
        <td><span class='label label-info'>false</span></td>
    </tr>
    
    
    
</table>                

      </section>

      <!-- Tags -->

      

      <!-- Constraints, Dependencies, Dependants -->

      
        
        


        
        


        
        

      

      <!-- Relationships -->

      
      
<section class="element-list">
    <h3>Relationships</h3>
    <ul class="nav nav-list">
        
        <li><a href='d4daf6c19dcfea677f58cccda6d6ecec.html'><span class='node-icon staruml-icon icon-UMLAssociation'></span>(Part—Inventory)</a></li>
        
        <li><a href='83f2d5be25e06d85cfe8f8e067a2c260.html'><span class='node-icon staruml-icon icon-UMLAssociation'></span>(PartCategory—Part)</a></li>
        
    </ul>
</section>



      <!-- Owned Elements -->

      
      
<section class="element-list">
    <h3>Owned Elements</h3>
    <ul class="nav nav-list">
        
        <li><a href='d4daf6c19dcfea677f58cccda6d6ecec.html'><span class='node-icon staruml-icon icon-UMLAssociation'></span>(Part—Inventory)</a></li>
        
    </ul>
</section>



    </div>
  </body>
</html>
